package com.example.article.service.impl;

import com.example.article.dao.AuthorDao;
import com.example.article.service.AuthorService;
import com.usian.model.article.pojos.ApAuthor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AuthorServiceImpl implements AuthorService {
    @Autowired
    AuthorDao authorDao;
    
    @Override
    public ApAuthor getAuthorById(Integer id) {
        return authorDao.selectById(id);
    }
}
